package com.itjeffrey.autocode.bo.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @From: Jeffrey
 * @Date: 2021/4/5
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ChangeAuthResBO implements Serializable {
    private static final long serialVersionUID = -41698627823664243L;

    private Integer key;

    /**
     * 资源标签
     */
    @NotNull(message = "资源标签禁止为空")
    private String label;

    private Integer resId;

    private Boolean disabled;
}
